// test.ts

import { MockMethod } from 'vite-plugin-mock';
export default [
  {
    url: '/admin/admin/adminapi/login',
    method: 'get',
    response: ({ query }) => {
      return {
        code: 0,
        msg: '成功',
        data: 'https://sso.zhiyinlou.com/portal/login/{appId}?param=jumpToUrl'
      };
    }
  },
  {
    url: '/admin/admin/adminapi/logout',
    method: 'post',
    timeout: 2000,
    response: {
      code: 0,
      msg: '成功',
      data: 'https://sso.zhiyinlou.com/sso/logout/'
    }
  }
] as MockMethod[];
